package com.qs.rocketmq.nacos;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDiscoveryClient  //服务启动时候，将服务实例注册到nacos
@SpringBootApplication
public class NacosProvider {

    public static void main(String[] args) {
        SpringApplication.run(NacosProvider.class, args);
    }
}
